package org.misalen.web.server.forms.user;

import org.misalen.annotations.ModelComment;
import org.misalen.validate.annotation.Length;
import org.misalen.validate.annotation.MobilePhone;
import org.misalen.validate.annotation.Required;
import org.misalen.web.server.config.Uncertain;

public class FindPwdForm {

	@MobilePhone
	@Required
	@ModelComment(value = "手机号")
	private String mobile;

	@Length(length = Uncertain.smsCodeLength)
	@ModelComment(value = "验证码")
	private String smsCode;

	@Required
	@ModelComment(value = "密码")
	private String password;

	public String getMobile() {
		return mobile;
	}

	public void setMobile(String mobile) {
		this.mobile = mobile;
	}

	public String getSmsCode() {
		return smsCode;
	}

	public void setSmsCode(String smsCode) {
		this.smsCode = smsCode;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

}
